cmake_minimum_required(VERSION 3.17)
project(opbone)

set(CMAKE_CXX_STANDARD 14)

find_package(glfw3 REQUIRED)
find_package(glm REQUIRED)
find_package(SDL REQUIRED)
#find_package(assimp REQUIRED)
#aux_source_directory(stb _SUB_SOURCES)
link_directories(AssimpLib)
link_directories(fbxsdk)
include_directories(include)
include_directories(stb)
include_directories(ConfigFile)
#find_package(assimp REQUIRED)
link_libraries("/home/sophda/project/opbone/AssimpLib/libassimp.so")
#link_libraries("/home/sophda/project/opbone/AssimpLib/libassimp.so.3")
#link_libraries("/home/sophda/project/opbone/AssimpLib/libassimp.so.3.1.1")
aux_source_directory(ConfigFile CONFIG_SOURCE)
#link_libraries(SDL2)
add_executable(${PROJECT_NAME} main.cpp Utils.h glad/src/glad.c

        )
target_link_libraries(${PROJECT_NAME}
        -lGLEW -lglfw3 -lGL -lX11 -lpthread -lXrandr -lXi -ldl  ${SDL_LIBRARIES}  )

